import {Base} from '../../utils/base.js';

class Model extends Base{
  constructor(){
    super();
  }

  getUserOrder(callback){
    this.request({
      url:'/get_user_order',
      success:function(res){
         callback&&callback(res)
      }
    })
  }

  // 支付
  payOrder(order_number){
    var url='/pay_order/'+order_number
    this.pay(url)
  }
}

export {Model}